package com.steven.door.base;

import android.app.Activity;
import android.content.pm.ActivityInfo;
import android.os.Bundle;

import com.steven.door.utils.SystemUtils;

import butterknife.ButterKnife;


public abstract class BaseActivity extends Activity {
    @Override
    protected void onCreate( Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
        boolean isHide =SystemUtils.hideNavigation();
        setContentView(intiLayout());
        ButterKnife.bind(this);
        intiView();
        intiData();
    }
    public abstract int intiLayout();

    public abstract void intiView();
    public abstract void intiData();
}
